package com.msh.platform.elm.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SaveOrderVO extends SignVO{
	@ApiModelProperty(value="总金额",required=true)
    @NotNull(message = "总金额不能为空")
    private BigDecimal amount;
	@ApiModelProperty(value="抵扣金额，如果没有使用红包就传0",required=true)
    @NotBlank(message = "抵扣金额不能为空")
    private BigDecimal discount;
	@ApiModelProperty(value="微信账号，如果使用微信支付要传这个参数")
    private String payAcctNo;
	@ApiModelProperty(value="备注")
    private String ordRem;
	@ApiModelProperty(value="选号车商品id数组",required=true)
    @NotNull(message = "选号车商品id数组不能为空")
    private List<String> itemIds;
}
